package com.huangtang.pc.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author sunjf
 * @date 2024/01/05
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "exclude")
public class ExcludeUrlConfig {

    /**
     * 可以不用授权放行的url
     */
    private List<String> urls;

    public void setUrls(List<String> urls) {
        this.urls = urls;
    }
}
